package com.ruoyi.screen.dto;

public class WeeklyUsageDTO {
    private String week;  // 周标识，如"2023-01"
    private long count;   // 使用量

    // 必须有这个构造函数
    public WeeklyUsageDTO(String week, long count) {
        this.week = week;
        this.count = count;
    }

    // 无参构造函数(可选)
    public WeeklyUsageDTO() {
    }

    // Getter和Setter方法
    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }
}